{% extends "JobHubBundle::admin_layout.html.twig" %}

{% block page_title %}
<div class="navbar-header">
<h2>Candidature</h2>
</div>
<ul class="entity_actions pull-right back_to_list record_actions">
<li>
    <a href="{{ path('administration_candidature') }}">
        Retour à la liste
    </a>
</li>
</ul>
{% endblock %}

{% block page_content %}

    <table class="record_properties">
        <tbody>
            <tr>
                <th>Id</th>
                <td>{{ entity.id }}</td>
            </tr>
            <tr>
                <th>Date</th>
                <td>{{ entity.date|date('Y-m-d H:i:s') }}</td>
            </tr>
            <tr>
                <th>Motivation</th>
                <td>{{ entity.motivation }}</td>
            </tr>
        </tbody>
    </table>

        <ul class="record_actions">
    <li>
        <a href="{{ path('administration_candidature') }}">
            Back to the list
        </a>
    </li>
    <li>
        <a href="{{ path('administration_candidature_edit', { 'id': entity.id }) }}">
            Edit
        </a>
    </li>
    <li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}
